const path = require('path');

const config = {
    dev:{
        assetsRoot: path.resolve(__dirname, '../dist'),
        assetsPublicPath:'/',
        devtool: "cheap-module-eval-source-map", 
        autoOpenBrowser: false,
        proxyTable: {},
        poll: false,
        host:"localhost",
        port:8000,
        assetsSubDirectory:'static',
    },
    build:{
        assetsRoot: path.resolve(__dirname,'../dist'),
        assetsPublicPath: './',
        assetsSubDirectory:'static',
        productionSourceMap: true,
        index: path.resolve(__dirname, '../dist/index.html'),
    }
}

module.exports = config;